# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-crocods
pkgver=0_git20200322
pkgrel=0
_commit="76588a148dbbcc21575194898f90eab28659d4c3"
pkgdesc="amstrad CPC emulator for libretro"
url="https://github.com/libretro/libretro-crocods"
arch="all"
license="MIT"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-crocods/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-crocods-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 crocods_libretro.so "$pkgdir"/usr/lib/libretro/crocods_libretro.so
}

sha512sums="f7cdc8333eecf82eb9e8183002ecc7beef01481d4a059a8e0112e564158abbe3363fee21f2dc7e63f227ad5b30514263e1908078dcfb471f7d2bf760757aa58b  libretro-crocods-76588a148dbbcc21575194898f90eab28659d4c3.tar.gz"
